package com.konsung.ksdc.manager.shop;

import android.os.Bundle;
import android.view.View;
import android.widget.RelativeLayout;
import android.widget.TextView;

import com.konsung.ksdc.R;
import com.konsung.ksdc.manager.appmain.BaseActivity;

import butterknife.Bind;
import butterknife.ButterKnife;

/**
 * 积分明细页面
 * Created by DJH on 2017/5/4 0004.
 */

public class IntegralDetailActivity extends BaseActivity {
    @Bind(R.id.tab_tv_title)
    TextView tvTitle;
    @Bind(R.id.rl_back)
    RelativeLayout rlBack;

    @Override
    protected String activityDesc() {
        return getString(R.string.integral_detail);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_integral_detail);
        ButterKnife.bind(this);
        initEvent();
        initView();
    }

    /**
     * 初始化积分明细页面
     */
    private void initView() {
        tvTitle.setText(R.string.integral_detail);
    }

    /**
     * 初始化积分明细页面事件
     */
    private void initEvent() {
        rlBack.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                finish();
            }
        });
    }
}
